package com.zzrt.servlet.fileupload;


public class Test {
	
	@org.junit.Test
	public void xx(){
		String name="学习状态.png";
		int xxx = name.lastIndexOf(".");
		System.out.println(xxx);
		name = name.substring(xxx);
		System.out.println(name);
	}

}
